<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Main Dashboard</title>
  <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
  <style>
    .container {
      margin-top: 20px;
    }
    .card {
      margin-bottom: 20px;
    }
  </style>
</head>
<body>

<div class="container">
  <h1 class="text-center">主界面</h1>

  <div class="row">
    <div class="col-md-4">
      <div class="card">
        <div class="card-header">Area Product Top 3</div>
        <div class="card-body">
          <a href="/api/areaproducttop3" class="btn btn-primary btn-block">View Chart</a>
        </div>
      </div>
    </div>
    <div class="col-md-4">
      <div class="card">
        <div class="card-header">Categories Top 10</div>
        <div class="card-body">
          <a href="/api/categoriestop10" class="btn btn-primary btn-block">View Chart</a>
        </div>
      </div>
    </div>
    <div class="col-md-4">
      <div class="card">
        <div class="card-header">Click Session Top 10</div>
        <div class="card-body">
          <a href="/api/clicksessiontop10" class="btn btn-primary btn-block">View Chart</a>
        </div>
      </div>
    </div>
    <div class="col-md-4">
      <div class="card">
        <div class="card-header">Province City Ad Clicks</div>
        <div class="card-body">
          <a href="/api/province_city_ad_clicks" class="btn btn-primary btn-block">View Chart</a>
        </div>
      </div>
    </div>
    <div class="col-md-4">
      <div class="card">
        <div class="card-header">Province Top 3</div>
        <div class="card-body">
          <a href="/api/province_top3" class="btn btn-primary btn-block">View Chart</a>
        </div>
      </div>
    </div>
    <div class="col-md-4">
      <div class="card">
        <div class="card-header">Session Step Ratio</div>
        <div class="card-body">
          <a href="/api/session_step_ratio" class="btn btn-primary btn-block">View Chart</a>
        </div>
      </div>
    </div>
    <div class="col-md-4">
      <div class="card">
        <div class="card-header">Session Time Ratio</div>
        <div class="card-body">
          <a href="/api/session_time_ratio" class="btn btn-primary btn-block">View Chart</a>
        </div>
      </div>
    </div>
  </div>
</div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>
